#include "Obstacle.h"

using namespace cmn;

Obstacle::Obstacle( b2World* world, const Transform& pos, const ReusableBodyDef* reusableBodyDef, const TextureInfo* texInfo ) {
	m_body = new Body( world, b2BodyType::b2_staticBody, pos, Transform::Zero(), reusableBodyDef, texInfo );
}

Obstacle::~Obstacle() {
	delete m_body;
}

void Obstacle::Update( float ) {}

void Obstacle::Draw() const {
	m_body->Draw();
}
